package org.celery.modules.merchant.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

/**
 * 商户桌台类别表.实体类
 *
 * @author Celery
 * @since 2021-11-07
 */
@Data
@TableName("celery_merchant_desk_category")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "MerchantDeskCategory对象", description = "商户桌台类别表.")
public class MerchantDeskCategory extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    @JsonSerialize(using = ToStringSerializer.class)
  private Long id;
    /**
     * 桌台类别名
     */
    @ApiModelProperty(value = "桌台类别名")
    private String name;
    /**
     * 桌台类别编号
     */
    @ApiModelProperty(value = "桌台类别编号")
    private String code;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer sort;
    /**
     * 最少开台人数
     */
    @ApiModelProperty(value = "最少开台人数")
    private Integer minLimit;
    /**
     * 最大开台人数
     */
    @ApiModelProperty(value = "最大开台人数")
    private Integer maxLimit;


}
